package com.whut.mapper;

import com.whut.model.Appversion;

import java.util.List;

public interface AppversionMapper {
    int deleteByPrimaryKey(Integer mkey);

    int insert(Appversion record);

    int insertSelective(Appversion record);

    Appversion selectByPrimaryKey(Integer mkey);

    int updateByPrimaryKeySelective(Appversion record);

    int updateByPrimaryKey(Appversion record);

    /*mymethods*/
    int updateOldVersionState();

    Appversion getLatestVersion();

    List<Appversion> getList();

    Appversion getByVersionName(String curVer);

    int updateAppversionByVersion(String version,String qrCode);
}